.my-dialog {width:300px; position:absolute; z-index:100; left:50%; top:200px; margin-left:-150px;}
.my-dialog-shadow {width:100%; height:100%; position:fixed; left:0; top:0; background:#000; opacity:0.3; z-index:99;}